#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Math;
namespace Cephei.QL.Methods.Montecarlo
{
    /// <summary> 
	/// ! \ingroup mcarlo  \note the path includes the initial asset value as its first point.
	/// </summary>
    [Guid ("96FA6C6D-10F2-41a6-8D35-5B407096656B"),ComVisible(true)]
	public interface IPath 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double At(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Double Back {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Empty {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Front {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Length {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Time(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.ITimeGrid TimeGrid {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Value(UInt64 i);
    }   

    /// <summary> 
	/// ! \ingroup mcarlo  \note the path includes the initial asset value as its first point. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IPath_Factory : INativeCollection_Factory<IPath>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IPath, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIPath&gt</returns>
        IVector<IPath> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IPath, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIPath&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IPath>>> CreateCellVector();
        IVector<IPath> CreateVector (IEnumerable<IPath> source);
        ICoCell<IVector<ICoCell<IPath>>> CreateCellVector (IEnumerable<ICoCell<IPath>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IPath Create (Cephei.QL.ITimeGrid timeGrid, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Math.IArray> values);
    }
}

